package cn.hh.pet.service;


import cn.hh.basic.service.IBasicService;
import cn.hh.basic.util.PageList;
import cn.hh.pet.domain.Pet;
import cn.hh.pet.domain.SMM;
import cn.hh.pet.query.SMMQuery;

public interface ISMMService extends IBasicService<SMM> {
    /*发布寻主信息*/
    void publish(SMM smm, Long id) throws Exception;
    /*待处理消息查看*/
    PageList<SMM> pending(SMMQuery query, Long id);
    /*已处理消息查看*/
    PageList<SMM> processed(SMMQuery query, Long id);
    /*用户消息*/
    PageList<SMM> list(SMMQuery query, Long id);
    /*处理消息*/
    void handle(Pet pet,Long loginId);
}
